
import { createApp } from 'vue'
// import { createPinia } from 'pinia'
// import persist from 'pinia-plugin-persistedstate'
import App from './App.vue'
import router from './router'
import 'vant/lib/index.css'//（上）要在上面
import './styles/main.scss'//下
import pinia from './stores'
import 'virtual:svg-icons-register'

const app = createApp(App)
// 使用pinia插件，并在pinia中使用持久插件
app.use(pinia)
app.use(router)

app.mount('#app')
